package com.accp.vehiclecare.dao.zbdao;

import com.accp.vehiclecare.pojo.Station;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StationMapper {
    int deleteByPrimaryKey(Integer stationid);

    int insert(Station record);

    int insertSelective(Station record);

    /**
     * 查询全部岗位
     * @return
     */
    List<Station> SelectAllStaion();

    int insertStation(@Param("name")String name);

    Station selectByPrimaryKey(Integer stationid);

    int updateByPrimaryKeySelective(Station record);

    int updateByPrimaryKey(Station record);
}